package com.ctg.itrdc.imageconsole.data.entity.user;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ctg.itrdc.paspsdk.pub.entity.BaseEntity;



@Table(name = "docker_micro_user")
public class DockerMicroUser extends BaseEntity<Long> {
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8140854556629648318L;


	@Id
	@Column(name = "id")
	private Long id;

	
	@Column(name = "code")
	private String code;

	@Column(name = "name")
	private String name;

	@Column(name = "password")
	private String password;

	@Column(name = "has_admin_role")
	private Integer hasAdminRole;

	@Column(name = "harbor_user_id")
	private Long harborUserId;
	
	@Column(name = "sys_user_id")
	private Long sysUserId;

	@Column(name = "available")
	private Integer available;
	
	@Column(name = "failure_reason")
	private String failureReason;
	
	@Column(name = "deleted")
	private Integer deleted;
	
	@Column(name = "create_user_id")
	private Long createUserId;

	@Column(name = "create_time")
	private String createTime;

	@Column(name = "last_update_user_id")
	private Long lastUpdateUserId;

	@Column(name = "last_update_time")
	private String lastUpdateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getHasAdminRole() {
		return hasAdminRole;
	}

	public void setHasAdminRole(Integer hasAdminRole) {
		this.hasAdminRole = hasAdminRole;
	}

	public Long getHarborUserId() {
		return harborUserId;
	}

	public void setHarborUserId(Long harborUserId) {
		this.harborUserId = harborUserId;
	}	

	public Long getSysUserId() {
		return sysUserId;
	}

	public void setSysUserId(Long sysUserId) {
		this.sysUserId = sysUserId;
	}

	
	public Integer getDeleted() {
		return deleted;
	}

	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getLastUpdateUserId() {
		return lastUpdateUserId;
	}

	public void setLastUpdateUserId(Long lastUpdateUserId) {
		this.lastUpdateUserId = lastUpdateUserId;
	}

	public String getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(String lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Integer getAvailable() {
		return available;
	}

	public void setAvailable(Integer available) {
		this.available = available;
	}

	public String getFailureReason() {
		return failureReason;
	}

	public void setFailureReason(String failureReason) {
		this.failureReason = failureReason;
	}

	
}
